<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>   
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>   
<html>   
<head>   
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">   
<title>Insert title here</title>   
</head>   
<body>   
  
<h1>Edit Person</h1>   
  ${user.userName }:<br>
  ${name}
<c:url var="saveUrl" value="/main/edit/${user.id}" />   
<c:url var="saveUrl1" value="/modattrno.htm" />   
  
<form id="user" method="POST" action="${saveUrl1}">   
    <table>   
        <tr>   
            <td><label path="id">Id:</label></td>   
            <td><input name="id" id="id" disabled="true"/></td>   
        </tr>   
       
        <tr>   
            <td><label path="">First Name:</label></td>   
            <td><input id="userName" name="userName"/></td>   
        </tr>   
  
        <tr>   
            <td><label path="password">Money</label></td>   
            <td><input id="password" name="password"/></td>   
        </tr>   
    </table>   
       
    <input type="submit" value="Save" />   
</form>   
  
</body>   
</html>  
